<?php
declare(strict_types = 1);

namespace app\common\model\mysql;

use think\Model;
class Problem extends Model
{
    protected $name = 'problem';

    protected $pk = 'problem_id';


    public function getProblemInfoByProblemId($problem_id)
    {
        $result = $this->where("problem_id", $problem_id)
                ->select()
                ->toArray();
        return $result;
    }


}
